package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 卖家对象 sys_owner
 *
 * @author silencezheng
 * @date 2022-11-16
 */
public class SysOwner extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 卖家ID
	 */
	private Long id;

	/**
	 * 昵称
	 */
	@Excel(name = "昵称")
	private String name;

	/**
	 * 头像
	 */
	@Excel(name = "头像")
	private String avatar;

	/**
	 * 用户id
	 */
	private Long userId;
	@Excel(name = "用户名")
	private String userName;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserName() {
		return userName;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("id", getId())
				.append("name", getName())
				.append("avatar", getAvatar())
				.append("createBy", getCreateBy())
				.append("createTime", getCreateTime())
				.append("userId", getUserId())
				.append("userName", getUserName())

				.toString();
	}
}
